package com.letoken.platform.repo.mall.po;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 推广大使配置
 * </p>
 *
 * @author author
 * @since 2023-06-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("admin_mall_ambassador")
@ApiModel(value="AdminMallAmbassador对象", description="推广大使配置")
public class AdminMallAmbassador implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;


    @ApiModelProperty(value = "分红")
    private BigDecimal bonus;

    @ApiModelProperty(value = "需要的生态建设值")
    private BigDecimal eco;

    @ApiModelProperty(value = "状态0可用 1不可用")
    private Integer state;

    @ApiModelProperty(value = "等级值")
    private Integer level;

    @ApiModelProperty(value = "权益名称")
    private String levelName;


    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    @ApiModelProperty(value = "基金分红比例")
    @TableField("fund_rate")
    private BigDecimal fundRate;

    @ApiModelProperty(value = "加权比例")
    @TableField("weight_rate")
    private BigDecimal weightRate;

    @ApiModelProperty(value = "分红门槛")
    @TableField("fund_amount")
    private BigDecimal fundAmount;

    @ApiModelProperty(value = "加权门槛")
    @TableField("weight_amount")
    private BigDecimal weightAmount;

    @ApiModelProperty(value = "基金平级将")
    @TableField("fund_same_rate")
    private BigDecimal fundSameRate;



}
